package com.cmc.cloud.cmclink.doc.vo.sovo.approvespacevo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 批舱-改配
 * 
 * @author dev89
 * @date 2025/07/28 13:33
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode
public class SoRejectSpaceReqVO {
    @Schema(description = "拒绝理由id")
    private Long reasonId;

    @Schema(description = "拒绝理由类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{sorejectspace.reasontype.notblank}")
    @Length(max = 50, message = "{sorejectspace.reasontype.length}")
    private String reasonType;

    @Schema(description = "拒绝理由描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{sorejectspace.reasoncontent.notblank}")
    @Length(max = 200, message = "{sorejectspace.reasoncontent.length}")
    private String reasonContent;
}
